package pluginMain;

import java.util.logging.Logger;

import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;

public class BAKACraft extends JavaPlugin {
	public static Plugin instance;
	public final String PLUGIN_NAME = "BAKACraft v11.0";
	public final Logger CONSOLE_LOGGER = this.getLogger();
	//public final BAKALogin instanceLogin = new BAKALogin();
	//use xAuth resume..
	//public BAKALevel instancePlayerLevel;
	//public BAKADeadLimiter instanceDeadLimiter;
	public void LOGCONSOLE(String msg){
		CONSOLE_LOGGER.info(msg);
		
	}
	
	@Override
	public void onEnable(){
		instance = this;
		//Storage instance for other classes;
		//instancePlayerLevel = new BAKALevel();
		//Disable for now
		//Player Level Module
		//instanceDeadLimiter = new BAKADeadLimiter();
		LOGCONSOLE(PLUGIN_NAME + " has been started.");
	}
	
	@Override
	public void onDisable(){
		LOGCONSOLE(PLUGIN_NAME + " has been disabled.");
	}
	
	public static BAKACraft getInstance()
	{
		return (BAKACraft) instance;
	}
	
}
